Body
multipart/form-data
Response
Successful Response
미디어 라이브러리 조회 스키마
미디어 라이브러리에 파일을 업로드하고 생성된 미디어 라이브러리 항목을 반환합니다.
curl --request POST \
--url https://your_a2_service/media_library \
--header 'Content-Type: multipart/form-data' \
--form 'cdn_host=<string>' \
--form file_size=123 \
--form height=123 \
--form 'mime=<string>' \
--form owner_id=3c90c3cc-0d44-4b50-8888-8dd25736052a \
--form 'storage=<string>' \
--form width=123 \
--form file=@example-file
{
"cdn_path": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"file_size": 123,
"filename": "<string>",
"height": 123,
"mime": "<string>",
"no": 123,
"path": "<string>",
"storage": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"width": 123
}
Successful Response
미디어 라이브러리 조회 스키마
이 페이지가 도움이 되었나요?
curl --request POST \
--url https://your_a2_service/media_library \
--header 'Content-Type: multipart/form-data' \
--form 'cdn_host=<string>' \
--form file_size=123 \
--form height=123 \
--form 'mime=<string>' \
--form owner_id=3c90c3cc-0d44-4b50-8888-8dd25736052a \
--form 'storage=<string>' \
--form width=123 \
--form file=@example-file
{
"cdn_path": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"file_size": 123,
"filename": "<string>",
"height": 123,
"mime": "<string>",
"no": 123,
"path": "<string>",
"storage": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"width": 123
}